<?xml version="1.0" encoding="utf-8" ?>
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2">
	<class name="OrbitOne.Elmah.DAL.Entities.OrbitOneElmahErrorEntity, OrbitOne.Elmah.DAL" proxy="OrbitOne.Elmah.DAL.Entities.OrbitOneElmahErrorEntity, OrbitOne.Elmah.DAL" table="ELMAH_Error" lazy="true">
		
   <id name="Id" type="Guid" unsaved-value="any">
			<column name="ErrorId" length="16" sql-type="uniqueidentifier" not-null="true" unique="true" index="PK_ELMAH_Error"/>
			<generator class="assigned" />
		</id>
    <property name="ApplicationName" type="String">
			<column name="ApplicationName" length="60" sql-type="nvarchar" not-null="true"/>     
		</property>
		<property name="HostName" type="String">
			<column name="HostName" length="50" sql-type="nvarchar" not-null="true"/>
		</property>
		<property name="ExceptionType" type="String">
			<column name="ExceptionType" length="100" sql-type="nvarchar" not-null="true"/>
		</property>
		<property name="Source" type="String">
			<column name="Source" length="60" sql-type="nvarchar" not-null="true"/>
		</property>
		<property name="ErrorMessage" type="String">
			<column name="ErrorMessage" length="500" sql-type="nvarchar" not-null="true"/>
		</property>
		<property name="UserName" type="String">
			<column name="UserName" length="50" sql-type="nvarchar" not-null="true"/>
		</property>
		<property name="StatusCode" type="Int32">
			<column name="StatusCode" length="4" sql-type="int" not-null="true"/>
		</property>
		<property name="HappeningTime" type="DateTime">
			<column name="HappeningTime" length="8" sql-type="datetime" not-null="true"/>
		</property>
    <property name="SequencialId" type="Int32" update="false" insert="false">
			<column name="SequencialId" length="4" sql-type="int"  not-null="true"/>
		</property>
		<property name="AllXml" type="String">
			<column name="AllXml" sql-type="xml" not-null="true"/>
		</property>
		<property name="ErrorLevel" type="Int32">
			<column name="ErrorLevel" length="4" sql-type="int" not-null="true"/>
		</property>
		<property name="ErrorType" type="String">
			<column name="ErrorType" length="255" sql-type="nvarchar" not-null="true"/>
		</property>

    <property name="AppliedRules" type="String">
      <column name="AppliedRules" length="1024" sql-type="nvarchar" not-null="false"/>
    </property>
	</class>
</hibernate-mapping>
